2d3b7251a462681432872913d4afb0b00b711b9f,source/de/anomic/plasma/plasmaSnippetCache.java,Snippet,getLineMarked,#Set#,128

Before Change


                    //ignore punctuation marks (contrib [MN])
                    if ((w[j].endsWith("."))||
                        (w[j].endsWith(","))||
                        (w[j].endsWith("!"))||
                        (w[j].endsWith("?"))) {
                        mark = w[j].substring(w[j].length()-1);
                        w[j] = w[j].substring(0,w[j].length()-1);

After Change



                    while((w[j].matches("\\A\\PL.+"))) {
                        prefix = w[j].substring(0,1) + prefix;
                        w[j] = w[j].substring(1);
                    }

                    while((w[j].matches(".+\\PL\\Z"))) {